package org.genntii.warehousesystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.genntii.warehousesystem.domain.entity.Goods;
import org.genntii.warehousesystem.domain.entity.GoodsType;
import org.genntii.warehousesystem.domain.entity.Type;

import java.util.List;

public interface GoodsTypeService extends IService<GoodsType> {

    void typeAdds(List<Integer> typeIds, int goodsId);

    List<Type> showAllTypeByGoodsId(int goodsId);

    void del(int typeId, int goodsId);

    List<Goods> selectGoodsByTypeId(int typeId, int page);

}
